
using UnityEngine;
using System;
/// <summary>
/// 模拟MonoBehaviour
/// </summary>
[AddComponentMenu("ESF/BindSimulateBehaviour/UI/SimulateUIBehaviour_Awake__1166514450")]
[DisallowMultipleComponent]
public sealed class SimulateUIBehaviour_Awake__1166514450 : AbsBindSimulateBehaviour_UI
{	
	/// <summary>
    /// 绑定事件Key
    /// </summary>
    public override int bindEvtKey { get { return -1166514450; } }
	bool mIsCall=false;
	protected override void Awake()
	{	
	if (bindISB != null && bindISB.Count > 0)
        {
            foreach (var key in bindISB.Values)
            {
                key?.Awake();
            }
        }
	mIsCall=true;
	}
	/// <summary>
	/// 绑定ISimulateMonoBehaviour之后
	/// </summary>
	/// <param name="_bindISB"></param>
	protected override void OnAfterBindSimulateBehaviour(ISimulateBehaviour _bindISB) 
	{
	if(mIsCall)
	{
	_bindISB?.Awake();
	}
	}
}